<!DOCTYPE html>
<style>
  html { writing-mode:vertical-lr; }
</style>
<div style="writing-mode:horizontal-tb; font-size:3em;">PASS</div>
<div style="width:5000px; height:5000px;"></div>
<script>
  if (window.testRunner)
      testRunner.setPrinting();
</script>
